<!DOCTYPE html>
<HTML>
<HEAD><meta name="viewport" content="width=device-width, initial-scale=1">
<Title>Pie Charts</Title>
<link type='text/css' rel='Stylesheet' href="maxchartapi.css" />
</HEAD>
<body bgcolor="#FFFFFF" text="#000000" topmargin="0" leftmargin="0" rightmargin="0" marginwidth="0" marginheight="0">

<p class="heading0">ChartDirector 7.0 (Java Edition)</p>
<p class="heading1">Pie Charts</p>
<hr class="separator">
<div class="content">
In this section, we will discuss how to create pie charts using ChartDirector through a number of examples.<br><br>
<div style="width:100%;box-sizing:border-box;">
<table border="1" cellpadding="5" cellspacing="0" width="100%"> 
<tr>
<th width="33%">Title</th><th>Description</th>
</tr>
<tr>
<td><a href='simplepie.htm'>Simple Pie Chart</a></td><td>Demonstrates the basic steps in creating pie charts.</td></tr><tr><td><a href='threedpie.htm'>3D Pie Chart</a></td><td>Extends the <a href="simplepie.htm">Simple Pie Chart</a> example by drawing the chart in 3D, adding a title, and exploding a sector.</td></tr><tr><td><a href='multidepthpie.htm'>Multi-Depth Pie Chart</a></td><td>Demonstrates a 3D pie chart where sectors have different 3D heights.</td></tr><tr><td><a href='sidelabelpie.htm'>Side Label Layout</a></td><td>Demonstrates the "side label layout" method for positioning the sector labels. Also demonstrates metallic background colors, and sector labels with glass shading effect and rounded corners.</td></tr><tr><td><a href='circlelabelpie.htm'>Circular Label Layout</a></td><td>Demonstrates label positioning in the "circular label layout" method.</td></tr><tr><td><a href='legendpie.htm'>Pie Chart with Legend (1)</a></td><td>Demonstrates how to add a legend box to a pie chart. Also demonstrates alternative sector label format and rounded edge sector shading.</td></tr><tr><td><a href='legendpie2.htm'>Pie Chart with Legend (2)</a></td><td>Demonstrates a pie chart with a legend box, together with many effects, such as gradient color background, rounded frame, soft drop shadow, custom sector colors, sector gradient shading, customized sector labels and using <a href="cdml.htm">CDML</a> and <a href="paramsub.htm">Parameter Substitution and Formatting</a> to format legend text.</td></tr><tr><td><a href='explodedpie.htm'>Exploded Pie Chart</a></td><td>Demonstrates a pie chart with all sectors exploded. Also demonstrates many effects, such as gradient color background, rounded frame, soft drop shadow, custom sector colors, sector gradient shading, thick sector border, and using <a href="cdml.htm">CDML</a> and <a href="paramsub.htm">Parameter Substitution and Formatting</a> to format sector labels.</td></tr><tr><td><a href='iconpie.htm'>Icon Pie Chart (1)</a></td><td>Demonstrates using <a href="cdml.htm">CDML</a> and <a href="paramsub.htm">Parameter Substitution and Formatting</a> to include icons in sector labels. Also demonstrates gradient background color, glass shading effect for the title and rounded corners for the chart frame.</td></tr><tr><td><a href='iconpie2.htm'>Icon Pie Chart (2)</a></td><td>Extends the <a href="iconpie.htm">Icon Pie Chart (1)</a> example to demonstrate using <a href="cdml.htm">CDML</a> to include multiple fonts and colors in chart title, sector labels and to draw logo. Also demonstrates silver background color, rounded corners, and glass shading effect for title.</td></tr><tr><td><a href='multipie.htm'>Multi-Pie Chart</a></td><td>Demonstrates drawing multiple pies with different data and colors. Also demonstrates putting labels on the sectors and using sector borders.</td></tr><tr><td><a href='donut.htm'>Donut Chart</a></td><td>Demonstrates a donut chart with ring shading effects. Also demonstrates brushed metal background, rounded frame, customized sector labels and using <a href="cdml.htm">CDML</a> and <a href="paramsub.htm">Parameter Substitution and Formatting</a> to format legend text.</td></tr><tr><td><a href='threeddonut.htm'>3D Donut Chart</a></td><td>Demonstrates a 3D donut chart with sector gradient shading. Also demonstrates gradient color background, rounded frame, custom sector colors, and using <a href="cdml.htm">CDML</a> and <a href="paramsub.htm">Parameter Substitution and Formatting</a> to format sector labels</td></tr><tr><td><a href='icondonut.htm'>Icon Donut Chart</a></td><td>Modifies the <a href="iconpie.htm">Icon Pie Chart</a> example by using a semi-transparent donut instead of a pie, and using metallic background color.</td></tr><tr><td><a href='texturedonut.htm'>Texture Donut Chart</a></td><td>Demonstrates wooden, rocky and marble texture effects by using pattern colors to load image patterns.</td></tr><tr><td><a href='concentric.htm'>Concentric Donut Chart</a></td><td>Demonstrates creating concentric donut chart by merging two donuts of different radii.</td></tr><tr><td><a href='pieshading.htm'>2D Pie Shading</a></td><td>Demonstrates various sector shading effects applicable to 2D pie charts.</td></tr><tr><td><a href='threedpieshading.htm'>3D Pie Shading</a></td><td>Demonstrates various sector shading effects applicable to 3D pie charts.</td></tr><tr><td><a href='donutshading.htm'>2D Donut Shading</a></td><td>Demonstrates various sector shading effects applicable to 2D donut charts.</td></tr><tr><td><a href='threeddonutshading.htm'>3D Donut Shading</a></td><td>Demonstrates various sector shading effects applicable to 3D donut charts.</td></tr><tr><td><a href='fontpie.htm'>Text Styles and Colors</a></td><td>Demonstrates various text styles, text colors, background colors and text box border effects.</td></tr><tr><td><a href='threedanglepie.htm'>3D Angle</a></td><td>Demonstrates the effects of different 3D angles.</td></tr><tr><td><a href='threeddepthpie.htm'>3D Depth</a></td><td>Demonstrates the effects of different 3D depths.</td></tr><tr><td><a href='shadowpie.htm'>3D Shadow Mode</a></td><td>Demonstrates an alternative 3D drawing method that uses shadows.</td></tr><tr><td><a href='anglepie.htm'>Start Angle and Direction</a></td><td>Demonstrates different sector layout angles and directions.</td></tr><tr><td><a href='donutwidth.htm'>Donut Width</a></td><td>Demonstrates the effects of different donut widths.</td>
</tr>
</table>
</div>
</div>
<hr class="separator"><div class="copyright">&copy; 2022 Advanced Software Engineering Limited. All rights reserved.</div>
</body>
</HTML>
